package com.cloud.lawcase.api.entity;

import javax.persistence.*;

@Table(name = "tc_dic_law_cause")
public class TcDicLawCause {
	@Id
	@Column(name = "cause_id")
	private Long causeId;

	@Column(name = "cause_code")
	private String causeCode;

	@Column(name = "cause_name")
	private String causeName;

	@Column(name = "excute_type_id")
	private Integer excuteTypeId;

	@Column(name = "is_punish")
	private Integer isPunish;

	@Column(name = "item_id")
	private Long itemId;

	@Column(name = "law_id")
	private Long lawId;

	@Transient
	private String excuteTypeName;
	/**
	 * @return cause_id
	 */
	public Long getCauseId() {
		return causeId;
	}

	/**
	 * @param causeId
	 */
	public void setCauseId(Long causeId) {
		this.causeId = causeId;
	}

	/**
	 * @return cause_code
	 */
	public String getCauseCode() {
		return causeCode;
	}

	/**
	 * @param causeCode
	 */
	public void setCauseCode(String causeCode) {
		this.causeCode = causeCode;
	}

	/**
	 * @return cause_name
	 */
	public String getCauseName() {
		return causeName;
	}

	/**
	 * @param causeName
	 */
	public void setCauseName(String causeName) {
		this.causeName = causeName;
	}

	/**
	 * @return is_punish
	 */
	public Integer getIsPunish() {
		return isPunish;
	}

	/**
	 * @param isPunish
	 */
	public void setIsPunish(Integer isPunish) {
		this.isPunish = isPunish;
	}

	/**
	 * @return item_id
	 */
	public Long getItemId() {
		return itemId;
	}

	/**
	 * @param itemId
	 */
	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}

	public Long getLawId() {
		return lawId;
	}

	public void setLawId(Long lawId) {
		this.lawId = lawId;
	}

	public Integer getExcuteTypeId() {
		return excuteTypeId;
	}

	public void setExcuteTypeId(Integer excuteTypeId) {
		this.excuteTypeId = excuteTypeId;
	}

	public String getExcuteTypeName() {
		return excuteTypeName;
	}

	public void setExcuteTypeName(String excuteTypeName) {
		this.excuteTypeName = excuteTypeName;
	}

}